import request from '@/service/index.js'

export const queryUserList = (
  userName,
  userId,
  phoneNumber,
  registrationStartDate,
  registrationEndDate,
  minimumConsumptionAmount,
  maximumConsumptionAmount,
  page,
  pageSize
) => {
  return request.get('/user/list', {
    params: {
      userName,
      userId,
      phoneNumber,
      registrationStartDate,
      registrationEndDate,
      minimumConsumptionAmount,
      maximumConsumptionAmount,
      page,
      pageSize,
    },
  })
}
